import matplotlib.pyplot as plt

plt.plot([1,2,3,4],[2,8,4,1],'o-r')
plt.show()
